<?php
header("Pragma: public");
header("Expires: 0");
header("Cache-Control: must-revalidate, post-check=0, pre-check=0");
header("Content-type: application/vnd.ms-excel");  
header("Content-Type: application/force-download");
header("Content-Type: application/download");
header('Cache-Control: max-age=0'); 
header('Content-Disposition: attachment;filename="archivo.xls"');
echo "hola";
?>        
